namespace GemBox.Spreadsheet
{
    using System;

    public class SpreadsheetHyperlink
    {
        private int column;
        private bool isExternal;
        private string location;
        private int row;
        private string toolTip;

        internal SpreadsheetHyperlink()
        {
            this.toolTip = string.Empty;
            this.location = string.Empty;
        }

        internal SpreadsheetHyperlink(SpreadsheetHyperlink hyperlink)
        {
            this.toolTip = string.Empty;
            this.location = string.Empty;
            this.ToolTip = hyperlink.ToolTip;
            this.Location = hyperlink.Location;
            this.IsExternal = hyperlink.IsExternal;
        }

        internal int Column
        {
            get
            {
                return this.column;
            }
            set
            {
                this.column = value;
            }
        }

        public bool IsExternal
        {
            get
            {
                return this.isExternal;
            }
            set
            {
                this.isExternal = value;
            }
        }

        public string Location
        {
            get
            {
                return this.location;
            }
            set
            {
                this.location = value;
            }
        }

        internal int Row
        {
            get
            {
                return this.row;
            }
            set
            {
                this.row = value;
            }
        }

        public string ToolTip
        {
            get
            {
                return this.toolTip;
            }
            set
            {
                this.toolTip = value;
            }
        }
    }
}
